|
1: |
|
from(X) |
→ cons(X,from(s(X))) |
2: |
|
2ndspos(0,Z) |
→ rnil |
3: |
|
2ndspos(s(N),cons(X,Z)) |
→ 2ndspos(s(N),cons2(X,Z)) |
4: |
|
2ndspos(s(N),cons2(X,cons(Y,Z))) |
→ rcons(posrecip(Y),2ndsneg(N,Z)) |
5: |
|
2ndsneg(0,Z) |
→ rnil |
6: |
|
2ndsneg(s(N),cons(X,Z)) |
→ 2ndsneg(s(N),cons2(X,Z)) |
7: |
|
2ndsneg(s(N),cons2(X,cons(Y,Z))) |
→ rcons(negrecip(Y),2ndspos(N,Z)) |
8: |
|
pi(X) |
→ 2ndspos(X,from(0)) |
9: |
|
plus(0,Y) |
→ Y |
10: |
|
plus(s(X),Y) |
→ s(plus(X,Y)) |
11: |
|
times(0,Y) |
→ 0 |
12: |
|
times(s(X),Y) |
→ plus(Y,times(X,Y)) |
13: |
|
square(X) |
→ times(X,X) |
|
There are 11 dependency pairs: